from cdsay.Attachment.views import add_attachment
from cdsay.content.views import index
from cdsay.picture.views import uploadPhoto
from cdsay.up1.views import thing_add
from cdsay.user.views import login, register
from django.conf.urls.defaults import patterns, include

urlpatterns = patterns('',
     (r'^login', login),
     (r'^register', register),
     (r'^index', index),
     (r'^up1', thing_add),
     (r'^upimages', uploadPhoto),
     #(r'^upfile', upload_file),
     (r'^add_attachment', add_attachment),
     
     (r'^admin/', include('django.contrib.admin.urls')),

     #(r'^site_media/(?P.*)$', 'django.views.static.serve',{'document_root': settings.STATIC_PATH}),
     
)
